package com.spzx.product.service;

/**
 * @Author GQS @Date 2024/9/20/18:38 @Description
 */

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.ProductSpec;

import java.util.List;

/**
 * 商品规格Service接口
 *
 * @author ruoyi
 * @date 2024-01-09
 */
public interface ProductSpecService extends IService<ProductSpec> {


    /**
     * 查询商品规格列表
     *
     * @param productSpec 商品规格
     * @return 商品规格集合
     */
    List<ProductSpec> selectProductSpecList(ProductSpec productSpec);

    ProductSpec selectProductSpecById(Long id);

    List<ProductSpec> selectProductSpecListByCategoryId(Long categoryId);
}
